﻿using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace DCBK.logger
{
    public class OrderService
    {
        ILogger<OrderService> _logger;
        public OrderService(ILogger<OrderService>logger)
        {
            _logger = logger;
        }
        public void Show()
        {
            _logger.LogInformation($"Show Time {0}", DateTime.Now);
        }
    }
}
